{extend name='admin@main'}

{block name="content"}
<div class="think-box-shadow">
    {include file='currency/index_search'}

    <table class="layui-table margin-top-10" lay-skin="line">
        {notempty name='list'}
        <thead>
        <tr>
            <th class="text-left nowrap">日期</th>
            <th class='text-left nowrap'>产出数量</th>
            <th class='text-left nowrap'>消耗数量</th>
            <th class='text-left nowrap'>剩余数量</th>
            <th class='text-left nowrap'>人均产出量</th>
            <th class='text-left nowrap'>人均消耗量</th>
            <th class='text-left nowrap'>人均剩余量</th>
        </tr>
        </thead>
        {/notempty}
        <tbody>
        {foreach $list as $key=>$vo}
        <tr>
            <td class='text-left nowrap'>{$vo.time}</td>
            <td class='text-left nowrap'>{$vo.receive}</td>
            <td class='text-left nowrap'>{$vo.consume}</td>
            <td class='text-left nowrap'>{$vo.activity_remain}</td>
            <td class='text-left nowrap'>{$vo.per_receive}</td>
            <td class='text-left nowrap'>{$vo.per_consume}</td>
            <td class='text-left nowrap'>{$vo.per_activity_remain}</td>
        </tr>
        {/foreach}
        </tbody>
    </table>
    {$pages | Raw}
    {empty name='list'}<span class="notdata">没有记录哦</span>{else}{$pagehtml|raw|default=''}{/empty}
</div>
{/block}
